home *** CD-ROM | disk | FTP | other *** search
/ NetNews Offline 2 / NetNews Offline Volume 2.iso / news / comp / lang / c-part2 / 14255 < prev    next >
Encoding:
Internet Message Format  |  1996-08-05  |  629 b 

  1. Path: math.ohio-state.edu!usc!usenet
  2. From: cfong@sunset.usc.edu(???
  3. )
  4. Newsgroups: comp.lang.c
  5. Subject: locking datafile
  6. Date: 12 Apr 1996 22:52:29 GMT
  7. Organization: University of Southern California, Los Angeles, CA
  8. Sender: cfong@sunset.usc.edu
  9. Message-ID: <4kmmrd$hma@usc.edu>
  10. NNTP-Posting-Host: sunset.usc.edu
  11.  
  12. Hi.  I was wondering if anyone can help me in this:
  13.  
  14. I am doing a kind of multiuser access database project...
  15.  
  16. My question is that:
  17.  
  18.      Is there a mechanism in c for locking a file so that
  19. updating the file won't affect or allow other user to read
  20. files until the updating is done!?!
  21.  
  22. Thank You very much!!!
  23.  
  24. Jason
  25.